package com.sunfeng.commonlib.polling;

/**
 * 轮询 model
 * Created by wutiaorong on 2017/10/19.
 */

public class PollingModel {
    String action_name;
    Class cls;
    int delayMillis;//延迟几秒执行
    int intervalMillis;//轮询间隔时间

    public PollingModel(String action_name, Class cls, int delayMillis, int intervalMillis) {
        this.action_name = action_name;
        this.cls = cls;
        this.delayMillis = delayMillis;
        this.intervalMillis = intervalMillis;
    }

    public String getAction_name() {
        return action_name;
    }

    public Class getCls() {
        return cls;
    }

    public int getIntervalMillis() {
        return intervalMillis;
    }

    public int getDelayMillis() {
        return delayMillis;
    }
}
